package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.SEstimatedJudgeMapper;
import com.ruoyi.system.domain.SEstimatedJudge;
import com.ruoyi.system.service.ISEstimatedJudgeService;
import com.ruoyi.common.core.text.Convert;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2021-10-29
 */
@Service
public class SEstimatedJudgeServiceImpl implements ISEstimatedJudgeService 
{
    @Autowired
    private SEstimatedJudgeMapper sEstimatedJudgeMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param estimatedId 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public SEstimatedJudge selectSEstimatedJudgeByEstimatedId(String estimatedId)
    {
        return sEstimatedJudgeMapper.selectSEstimatedJudgeByEstimatedId(estimatedId);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param sEstimatedJudge 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<SEstimatedJudge> selectSEstimatedJudgeList(SEstimatedJudge sEstimatedJudge)
    {
        return sEstimatedJudgeMapper.selectSEstimatedJudgeList(sEstimatedJudge);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param sEstimatedJudge 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertSEstimatedJudge(SEstimatedJudge sEstimatedJudge)
    {
        return sEstimatedJudgeMapper.insertSEstimatedJudge(sEstimatedJudge);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param sEstimatedJudge 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateSEstimatedJudge(SEstimatedJudge sEstimatedJudge)
    {
        return sEstimatedJudgeMapper.updateSEstimatedJudge(sEstimatedJudge);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param estimatedIds 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteSEstimatedJudgeByEstimatedIds(String estimatedIds)
    {
        return sEstimatedJudgeMapper.deleteSEstimatedJudgeByEstimatedIds(Convert.toStrArray(estimatedIds));
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param estimatedId 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteSEstimatedJudgeByEstimatedId(String estimatedId)
    {
        return sEstimatedJudgeMapper.deleteSEstimatedJudgeByEstimatedId(estimatedId);
    }

    @Override
    public void uptStatussById(String id, String statuss) {
        sEstimatedJudgeMapper.uptStatussById(id, statuss);
    }
}
